package com.daiyang.campus_lucky_draw.common.error;

public interface ServiceErrorCodeConstants {
    ErrorCode REGISTER_INFO_IS_EMPTY = new ErrorCode(501,"用户信息为空");
    ErrorCode MAIL_ERROR =new ErrorCode(502,"邮箱格式错误") ;
    ErrorCode PHONE_NUMBER_ERROR = new ErrorCode(503,"手机号码格式错误");
    ErrorCode IDENTITY_ERROR = new ErrorCode(504,"身份信息不能为空") ;
    ErrorCode PASSWORD_ERROR = new ErrorCode(505,"手机号不能为空");
    ErrorCode PASSWORD_FORMAT_ERROR =new ErrorCode(506,"密码不能为空,密码只能是6到12位") ;
    ErrorCode MAIL_USED =new ErrorCode(507,"邮箱已经被使用") ;
    ErrorCode PHONE_NUMBER_USED =  new ErrorCode(508,"手机号已经被使用");
    ErrorCode PHONE_IS_EMPTY =new ErrorCode (509,"手机号为空");
    ErrorCode MAIL_IS_EMPTY =new ErrorCode(510,"邮箱为空") ;
    ErrorCode LOGIN_INFO_NOT_EXIST = new ErrorCode(511,"登录信息不存在");
    ErrorCode MAIL_OR_PHONE_ERROR = new ErrorCode(512,"邮箱或手机号格式错误");
    ErrorCode USER_NOT_EXIST = new ErrorCode(513,"用户不存在") ;
    ErrorCode VERIFICATION_CODE_ERROR = new ErrorCode(514,"验证码错误") ;
    ErrorCode UPLOAD_PIC_ERROR = new ErrorCode(515,"图片加载错误") ;
    ErrorCode CREATE_ACTIVITY_INFO_IS_EMPTY = new ErrorCode(516,"创建活动信息为空") ;
    ErrorCode ACTIVITY_USER_ERROR = new ErrorCode(517,"活动用户不存在");
    ErrorCode ACTIVITY_PRIZE_ERROR = new ErrorCode(518,"活动奖品不存在");
    ErrorCode USER_PRIZE_AMOUNT_ERROR = new ErrorCode(519,"用户奖品数量错误");
    ErrorCode ACTIVITY_PRIZE_TIERS_ERROR = new ErrorCode(520,"活动奖品等级错误");
    ErrorCode ACTIVITY_ID_IS_EMPTY = new ErrorCode(521,"活动id为空") ;
    ErrorCode ACTIVITY_OR_PRIZE_NOT_EXIST = new ErrorCode(522,"活动或奖品不存在");
    ErrorCode WINNING_MORE_PRIZE_AMOUNT = new ErrorCode(523,"中奖人数超过奖品数量");
    ErrorCode ACTIVITY_COMPLETED =  new ErrorCode(524,"活动已完成");
    ErrorCode ACTIVITY_PRIZE_COMPLETED =  new ErrorCode(525,"活动奖品已完成");
    ErrorCode ACTIVITY_STATUS_CONVERT_ERROR = new ErrorCode(526,"活动状态转化错误");;
    ErrorCode CACHE_ACTIVITY_ID_ERROR = new ErrorCode(527,"缓存活动信息失败，活动不存在");
    ErrorCode CACHE_ACTIVITY_ID_IS_EMPTY = new ErrorCode(528,"缓存活动信息失败，activityId为空");
    ErrorCode ACTIVITY_OR_PRIZE_IS_EMPTY = new ErrorCode(401, "活动或奖品信息为空");
    ErrorCode WINNER_PRIZE_AMOUNT_ERROR =new ErrorCode(404, "中奖人数大于奖品数量") ;
}
